home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / 000314_blitz-list-request_Wed May 18 14:21:08 1994.msg < prev    next >
Internet Message Format  |  1994-09-20  |  3KB

  1. Received: from peladon.rmit.EDU.AU (peladon.rmit.EDU.AU [131.170.1.1]) by kantti.helsinki.fi (8.6.9/8.6.5) with SMTP id OAA10694 for <blitz-list@helsinki.fi>; Wed, 18 May 1994 14:20:04 +0300
  2. Received: from minyos.xx.rmit.EDU.AU by peladon.rmit.EDU.AU with SMTP id AA16680
  3.   (5.65c/IDA-1.4.4 for <blitz-list@helsinki.fi>); Wed, 18 May 1994 21:19:53 +1000
  4. Received: by minyos.xx.rmit.EDU.AU 
  5. From: s924723@minyos.xx.rmit.EDU.AU (Son H. Le)
  6. Message-Id: <9405181119.10379@minyos.xx.rmit.EDU.AU>
  7. Subject: Re: Reading volume name
  8. To: blitz-list@helsinki.fi (blitz-list)
  9. Date: Wed, 18 May 1994 21:19:49 +1000 (EST)
  10. In-Reply-To: <22200.769257936@mailhost.aber.ac.uk> from "Nigel Hughes" at May 18, 94 11:45:36 am
  11. X-Mailer: ELM [version 2.4 PL23]
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset=US-ASCII
  14. Content-Transfer-Encoding: 7bit
  15. Content-Length: 1611      
  16. X-Status: 
  17. Status: RO
  18.  
  19.  
  20.  
  21. > > ARRRGGGHHHH!!! This almost drove me crazy!! (;
  22.  
  23. > No pun intended, I hope 8)
  24.  
  25. No. (;
  26.  
  27. > Thanks man, I was begining to think I was the only one on this list that
  28. > tries to do things that are not listed in the manuals!
  29.  
  30. Yeah, with the entire list, sometimes you feel like you're the only one
  31. posting. I know, coz no one has answered a question I posted long ago. *sigh*
  32.  
  33. > > Firstly, the DosList should contain a C union of three different
  34. > > structures (ie. DosListUnion should be either dol_Handler, dol_Volume or 
  35. > > dol_AssignList, not all three!) The .dt_Volume newtype provides a 
  36. > > workaround.
  37.  
  38. > OK I am being stupid.
  39.  
  40. No comment. (;
  41. It's a bug in the structure. Guess I better inform Acid Software.
  42.  
  43. > > Secondly, a BSTR is a BPTR with the first byte containing string length.
  44. > > To convert a BPTR to a normal Amiga pointer you must multiply it by 4.
  45. > > ie. APTR = BPTR << 2
  46.  
  47. > Yeah, I did try that and still got crap, must have been doing something
  48. > wrong, again 8)
  49. > Ho hum.
  50.  
  51. A combination of error by Acid and this, had me wondering too. Finally
  52. realised the mistake after about an hour of looking at the C includes and
  53. staring at your program.
  54.  
  55. > > Thirdly, you've got a weird way of accessing newtype structures. (;
  56.  
  57. > Yep, but I types this in from memory when I got here, as I forgot my source
  58. > 8)
  59.  
  60. At least that's what you claim. (;
  61.  
  62. > > Okay, here is the working version.
  63.  
  64. > You're a champ.
  65.  
  66. You're too kind, and so right! (;
  67.  
  68. Bye!
  69. Son Le
  70.  
  71. -- 
  72. Son H. Le                             email: s924723@minyos.xx.rmit.edu.au
  73.           "Nothing comes from nothing, nothing ever could..."